package com.bysj.yqsht.service;

import com.bysj.yqsht.bean.Teacher;
import com.bysj.yqsht.bean.extend.TeacherExtend;

import java.util.List;

public interface ITeacherService {

    List<Teacher> findAll();

    void saveOrUpdate(Teacher teacher);

    void detelateById(long id);

    List<TeacherExtend> findAllWithSubject(Teacher teacher,int pageNum,int limit);

  //  int selectDataCount(Teacher teacher);

    List<TeacherExtend> findWithAllByName(String name,String number,Long subjectId);
}
